<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns statistics about the client connection.</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysqlnduhconnection.getsqlstate.html">MysqlndUhConnection::getSqlstate</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysqlnduhconnection.getthreadid.html">MysqlndUhConnection::getThreadId</a></div>
 <div class="up"><a href="class.mysqlnduhconnection.html">MysqlndUhConnection</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="mysqlnduhconnection.getstatistics" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">MysqlndUhConnection::getStatistics</h1>
  <p class="verinfo">(PECL mysqlnd-uh &gt;= 1.0.0-alpha)</p><p class="refpurpose"><span class="refname">MysqlndUhConnection::getStatistics</span> &mdash; <span class="dc-title">Returns statistics about the client connection.</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mysqlnduhconnection.getstatistics-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span> <span class="methodname"><strong>MysqlndUhConnection::getStatistics</strong></span>
    ( <span class="methodparam"><span class="type"><span class="type mysqlnd_connection">mysqlnd_connection</span></span> <code class="parameter">$connection</code></span>
   )</div>

  <p class="para rdfs-comment">
   Returns statistics about the client connection.
  </p>

  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">本函数还未编写文档，仅有参数列表。</p></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-mysqlnduhconnection.getstatistics-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<em><code class="parameter">connection</code></em></dt>

    <dd>

     <p class="para">
      Mysqlnd connection handle. Do not modify!
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-mysqlnduhconnection.getstatistics-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Connection statistics collected by mysqlnd.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-mysqlnduhconnection.getstatistics-examples">
  <h3 class="title">范例</h3>
  <p class="para">
   <div class="example" id="example-1867">
    <p><strong>Example #1 <span class="function"><strong>MysqlndUhConnection::getStatistics()</strong></span> example</strong></p>
        <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">class&nbsp;</span><span style="color: #0000BB">proxy&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">MysqlndUhConnection&nbsp;</span><span style="color: #007700">{<br />&nbsp;public&nbsp;function&nbsp;</span><span style="color: #0000BB">getStatistics</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s(%s)\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_args</span><span style="color: #007700">(),&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">));<br />&nbsp;&nbsp;</span><span style="color: #0000BB">$ret&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">getStatistics</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">);<br />&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s&nbsp;returns&nbsp;%s\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$ret</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">));<br />&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">$ret</span><span style="color: #007700">;<br />&nbsp;}<br />}<br /></span><span style="color: #0000BB">mysqlnd_uh_set_connection_proxy</span><span style="color: #007700">(new&nbsp;</span><span style="color: #0000BB">proxy</span><span style="color: #007700">());<br /><br /></span><span style="color: #0000BB">$mysqli&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">mysqli</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"root"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"test"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">get_connection_stats</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
    </div>

    <div class="example-contents"><p>以上例程会输出：</p></div>
    <div class="example-contents screen">
<div class="cdata"><pre>
proxy::getStatistics(array (
  0 =&gt; NULL,
))
proxy::getStatistics returns array (
  &#039;bytes_sent&#039; =&gt; &#039;73&#039;,
  &#039;bytes_received&#039; =&gt; &#039;77&#039;,
  &#039;packets_sent&#039; =&gt; &#039;2&#039;,
  &#039;packets_received&#039; =&gt; &#039;2&#039;,
  &#039;protocol_overhead_in&#039; =&gt; &#039;8&#039;,
  &#039;protocol_overhead_out&#039; =&gt; &#039;8&#039;,
  &#039;bytes_received_ok_packet&#039; =&gt; &#039;0&#039;,
  &#039;bytes_received_eof_packet&#039; =&gt; &#039;0&#039;,
  &#039;bytes_received_rset_header_packet&#039; =&gt; &#039;0&#039;,
  &#039;bytes_received_rset_field_meta_packet&#039; =&gt; &#039;0&#039;,
  &#039;bytes_received_rset_row_packet&#039; =&gt; &#039;0&#039;,
  &#039;bytes_received_prepare_response_packet&#039; =&gt; &#039;0&#039;,
  &#039;bytes_received_change_user_packet&#039; =&gt; &#039;0&#039;,
  &#039;packets_sent_command&#039; =&gt; &#039;0&#039;,
  &#039;packets_received_ok&#039; =&gt; &#039;0&#039;,
  &#039;packets_received_eof&#039; =&gt; &#039;0&#039;,
  &#039;packets_received_rset_header&#039; =&gt; &#039;0&#039;,
  &#039;packets_received_rset_field_meta&#039; =&gt; &#039;0&#039;,
  &#039;packets_received_rset_row&#039; =&gt; &#039;0&#039;,
  &#039;packets_received_prepare_response&#039; =&gt; &#039;0&#039;,
  &#039;packets_received_change_user&#039; =&gt; &#039;0&#039;,
  &#039;result_set_queries&#039; =&gt; &#039;0&#039;,
  &#039;non_result_set_queries&#039; =&gt; &#039;0&#039;,
  &#039;no_index_used&#039; =&gt; &#039;0&#039;,
  &#039;bad_index_used&#039; =&gt; &#039;0&#039;,
  &#039;slow_queries&#039; =&gt; &#039;0&#039;,
  &#039;buffered_sets&#039; =&gt; &#039;0&#039;,
  &#039;unbuffered_sets&#039; =&gt; &#039;0&#039;,
  &#039;ps_buffered_sets&#039; =&gt; &#039;0&#039;,
  &#039;ps_unbuffered_sets&#039; =&gt; &#039;0&#039;,
  &#039;flushed_normal_sets&#039; =&gt; &#039;0&#039;,
  &#039;flushed_ps_sets&#039; =&gt; &#039;0&#039;,
  &#039;ps_prepared_never_executed&#039; =&gt; &#039;0&#039;,
  &#039;ps_prepared_once_executed&#039; =&gt; &#039;0&#039;,
  &#039;rows_fetched_from_server_normal&#039; =&gt; &#039;0&#039;,
  &#039;rows_fetched_from_server_ps&#039; =&gt; &#039;0&#039;,
  &#039;rows_buffered_from_client_normal&#039; =&gt; &#039;0&#039;,
  &#039;rows_buffered_from_client_ps&#039; =&gt; &#039;0&#039;,
  &#039;rows_fetched_from_client_normal_buffered&#039; =&gt; &#039;0&#039;,
  &#039;rows_fetched_from_client_normal_unbuffered&#039; =&gt; &#039;0&#039;,
  &#039;rows_fetched_from_client_ps_buffered&#039; =&gt; &#039;0&#039;,
  &#039;rows_fetched_from_client_ps_unbuffered&#039; =&gt; &#039;0&#039;,
  &#039;rows_fetched_from_client_ps_cursor&#039; =&gt; &#039;0&#039;,
  &#039;rows_affected_normal&#039; =&gt; &#039;0&#039;,
  &#039;rows_affected_ps&#039; =&gt; &#039;0&#039;,
  &#039;rows_skipped_normal&#039; =&gt; &#039;0&#039;,
  &#039;rows_skipped_ps&#039; =&gt; &#039;0&#039;,
  &#039;copy_on_write_saved&#039; =&gt; &#039;0&#039;,
  &#039;copy_on_write_performed&#039; =&gt; &#039;0&#039;,
  &#039;command_buffer_too_small&#039; =&gt; &#039;0&#039;,
  &#039;connect_success&#039; =&gt; &#039;1&#039;,
  &#039;connect_failure&#039; =&gt; &#039;0&#039;,
  &#039;connection_reused&#039; =&gt; &#039;0&#039;,
  &#039;reconnect&#039; =&gt; &#039;0&#039;,
  &#039;pconnect_success&#039; =&gt; &#039;0&#039;,
  &#039;active_connections&#039; =&gt; &#039;1&#039;,
  &#039;active_persistent_connections&#039; =&gt; &#039;0&#039;,
  &#039;explicit_close&#039; =&gt; &#039;0&#039;,
  &#039;implicit_close&#039; =&gt; &#039;0&#039;,
  &#039;disconnect_close&#039; =&gt; &#039;0&#039;,
  &#039;in_middle_of_command_close&#039; =&gt; &#039;0&#039;,
  &#039;explicit_free_result&#039; =&gt; &#039;0&#039;,
  &#039;implicit_free_result&#039; =&gt; &#039;0&#039;,
  &#039;explicit_stmt_close&#039; =&gt; &#039;0&#039;,
  &#039;implicit_stmt_close&#039; =&gt; &#039;0&#039;,
  &#039;mem_emalloc_count&#039; =&gt; &#039;0&#039;,
  &#039;mem_emalloc_amount&#039; =&gt; &#039;0&#039;,
  &#039;mem_ecalloc_count&#039; =&gt; &#039;0&#039;,
  &#039;mem_ecalloc_amount&#039; =&gt; &#039;0&#039;,
  &#039;mem_erealloc_count&#039; =&gt; &#039;0&#039;,
  &#039;mem_erealloc_amount&#039; =&gt; &#039;0&#039;,
  &#039;mem_efree_count&#039; =&gt; &#039;0&#039;,
  &#039;mem_efree_amount&#039; =&gt; &#039;0&#039;,
  &#039;mem_malloc_count&#039; =&gt; &#039;0&#039;,
  &#039;mem_malloc_amount&#039; =&gt; &#039;0&#039;,
  &#039;mem_calloc_count&#039; =&gt; &#039;0&#039;,
  &#039;mem_calloc_amount&#039; =&gt; &#039;0&#039;,
  &#039;mem_realloc_count&#039; =&gt; &#039;0&#039;,
  &#039;mem_realloc_amount&#039; =&gt; &#039;0&#039;,
  &#039;mem_free_count&#039; =&gt; &#039;0&#039;,
  &#039;mem_free_amount&#039; =&gt; &#039;0&#039;,
  &#039;mem_estrndup_count&#039; =&gt; &#039;0&#039;,
  &#039;mem_strndup_count&#039; =&gt; &#039;0&#039;,
  &#039;mem_estndup_count&#039; =&gt; &#039;0&#039;,
  &#039;mem_strdup_count&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_null&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_bit&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_tinyint&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_short&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_int24&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_int&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_bigint&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_decimal&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_float&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_double&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_date&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_year&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_time&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_datetime&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_timestamp&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_string&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_blob&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_enum&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_set&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_geometry&#039; =&gt; &#039;0&#039;,
  &#039;proto_text_fetched_other&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_null&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_bit&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_tinyint&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_short&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_int24&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_int&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_bigint&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_decimal&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_float&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_double&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_date&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_year&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_time&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_datetime&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_timestamp&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_string&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_blob&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_enum&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_set&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_geometry&#039; =&gt; &#039;0&#039;,
  &#039;proto_binary_fetched_other&#039; =&gt; &#039;0&#039;,
  &#039;init_command_executed_count&#039; =&gt; &#039;0&#039;,
  &#039;init_command_failed_count&#039; =&gt; &#039;0&#039;,
  &#039;com_quit&#039; =&gt; &#039;0&#039;,
  &#039;com_init_db&#039; =&gt; &#039;0&#039;,
  &#039;com_query&#039; =&gt; &#039;0&#039;,
  &#039;com_field_list&#039; =&gt; &#039;0&#039;,
  &#039;com_create_db&#039; =&gt; &#039;0&#039;,
  &#039;com_drop_db&#039; =&gt; &#039;0&#039;,
  &#039;com_refresh&#039; =&gt; &#039;0&#039;,
  &#039;com_shutdown&#039; =&gt; &#039;0&#039;,
  &#039;com_statistics&#039; =&gt; &#039;0&#039;,
  &#039;com_process_info&#039; =&gt; &#039;0&#039;,
  &#039;com_connect&#039; =&gt; &#039;0&#039;,
  &#039;com_process_kill&#039; =&gt; &#039;0&#039;,
  &#039;com_debug&#039; =&gt; &#039;0&#039;,
  &#039;com_ping&#039; =&gt; &#039;0&#039;,
  &#039;com_time&#039; =&gt; &#039;0&#039;,
  &#039;com_delayed_insert&#039; =&gt; &#039;0&#039;,
  &#039;com_change_user&#039; =&gt; &#039;0&#039;,
  &#039;com_binlog_dump&#039; =&gt; &#039;0&#039;,
  &#039;com_table_dump&#039; =&gt; &#039;0&#039;,
  &#039;com_connect_out&#039; =&gt; &#039;0&#039;,
  &#039;com_register_slave&#039; =&gt; &#039;0&#039;,
  &#039;com_stmt_prepare&#039; =&gt; &#039;0&#039;,
  &#039;com_stmt_execute&#039; =&gt; &#039;0&#039;,
  &#039;com_stmt_send_long_data&#039; =&gt; &#039;0&#039;,
  &#039;com_stmt_close&#039; =&gt; &#039;0&#039;,
  &#039;com_stmt_reset&#039; =&gt; &#039;0&#039;,
  &#039;com_stmt_set_option&#039; =&gt; &#039;0&#039;,
  &#039;com_stmt_fetch&#039; =&gt; &#039;0&#039;,
  &#039;com_deamon&#039; =&gt; &#039;0&#039;,
  &#039;bytes_received_real_data_normal&#039; =&gt; &#039;0&#039;,
  &#039;bytes_received_real_data_ps&#039; =&gt; &#039;0&#039;,
)
array(160) {
  [&quot;bytes_sent&quot;]=&gt;
  string(2) &quot;73&quot;
  [&quot;bytes_received&quot;]=&gt;
  string(2) &quot;77&quot;
  [&quot;packets_sent&quot;]=&gt;
  string(1) &quot;2&quot;
  [&quot;packets_received&quot;]=&gt;
  string(1) &quot;2&quot;
  [&quot;protocol_overhead_in&quot;]=&gt;
  string(1) &quot;8&quot;
  [&quot;protocol_overhead_out&quot;]=&gt;
  string(1) &quot;8&quot;
  [&quot;bytes_received_ok_packet&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;bytes_received_eof_packet&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;bytes_received_rset_header_packet&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;bytes_received_rset_field_meta_packet&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;bytes_received_rset_row_packet&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;bytes_received_prepare_response_packet&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;bytes_received_change_user_packet&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;packets_sent_command&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;packets_received_ok&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;packets_received_eof&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;packets_received_rset_header&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;packets_received_rset_field_meta&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;packets_received_rset_row&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;packets_received_prepare_response&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;packets_received_change_user&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;result_set_queries&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;non_result_set_queries&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;no_index_used&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;bad_index_used&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;slow_queries&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;buffered_sets&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;unbuffered_sets&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;ps_buffered_sets&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;ps_unbuffered_sets&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;flushed_normal_sets&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;flushed_ps_sets&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;ps_prepared_never_executed&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;ps_prepared_once_executed&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_fetched_from_server_normal&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_fetched_from_server_ps&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_buffered_from_client_normal&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_buffered_from_client_ps&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_fetched_from_client_normal_buffered&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_fetched_from_client_normal_unbuffered&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_fetched_from_client_ps_buffered&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_fetched_from_client_ps_unbuffered&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_fetched_from_client_ps_cursor&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_affected_normal&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_affected_ps&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_skipped_normal&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;rows_skipped_ps&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;copy_on_write_saved&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;copy_on_write_performed&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;command_buffer_too_small&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;connect_success&quot;]=&gt;
  string(1) &quot;1&quot;
  [&quot;connect_failure&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;connection_reused&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;reconnect&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;pconnect_success&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;active_connections&quot;]=&gt;
  string(1) &quot;1&quot;
  [&quot;active_persistent_connections&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;explicit_close&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;implicit_close&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;disconnect_close&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;in_middle_of_command_close&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;explicit_free_result&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;implicit_free_result&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;explicit_stmt_close&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;implicit_stmt_close&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_emalloc_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_emalloc_amount&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_ecalloc_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_ecalloc_amount&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_erealloc_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_erealloc_amount&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_efree_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_efree_amount&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_malloc_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_malloc_amount&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_calloc_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_calloc_amount&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_realloc_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_realloc_amount&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_free_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_free_amount&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_estrndup_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_strndup_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_estndup_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;mem_strdup_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_null&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_bit&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_tinyint&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_short&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_int24&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_int&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_bigint&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_decimal&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_float&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_double&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_date&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_year&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_time&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_datetime&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_timestamp&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_string&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_blob&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_enum&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_set&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_geometry&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_text_fetched_other&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_null&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_bit&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_tinyint&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_short&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_int24&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_int&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_bigint&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_decimal&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_float&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_double&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_date&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_year&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_time&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_datetime&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_timestamp&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_string&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_blob&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_enum&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_set&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_geometry&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;proto_binary_fetched_other&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;init_command_executed_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;init_command_failed_count&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_quit&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_init_db&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_query&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_field_list&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_create_db&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_drop_db&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_refresh&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_shutdown&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_statistics&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_process_info&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_connect&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_process_kill&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_debug&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_ping&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_time&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_delayed_insert&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_change_user&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_binlog_dump&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_table_dump&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_connect_out&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_register_slave&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_stmt_prepare&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_stmt_execute&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_stmt_send_long_data&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_stmt_close&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_stmt_reset&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_stmt_set_option&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_stmt_fetch&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;com_deamon&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;bytes_received_real_data_normal&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;bytes_received_real_data_ps&quot;]=&gt;
  string(1) &quot;0&quot;
}
</pre></div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-mysqlnduhconnection.getstatistics-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member">
     <span class="function"><a href="function.mysqlnd-uh-set-connection-proxy.html" class="function" rel="rdfs-seeAlso">mysqlnd_uh_set_connection_proxy()</a> - Installs a proxy for mysqlnd connections</span>
    </li>
    <li class="member">
     <span class="function"><a href="mysqli.get-connection-stats.html" class="function" rel="rdfs-seeAlso">mysqli_get_connection_stats()</a> - Returns statistics about the client connection</span>
    </li>
   </ul>
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysqlnduhconnection.getsqlstate.html">MysqlndUhConnection::getSqlstate</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysqlnduhconnection.getthreadid.html">MysqlndUhConnection::getThreadId</a></div>
 <div class="up"><a href="class.mysqlnduhconnection.html">MysqlndUhConnection</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
